package me.tonywang.java8;

/**
 * @ClassName: MarketOrder
 * @Description: java类作用描述
 * @Author: WANGHUI
 * @CreateDate: 2018/4/4 17:06
 * @Version: 1.0
 */
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author tony.wang
 * @since 2018-04-04
 */
@TableName("t_market_order")
public class MarketOrder extends Model<MarketOrder> {

    private static final long serialVersionUID = 1L;

    /**
     * 投保单内部标示
     */
	private Integer id;
    /**
     * 订单号
     */
	@TableField("order_code")
	private String orderCode;
    /**
     * 投保单号
     */
	@TableField("print_no")
	private String printNo;
    /**
     * 保单号
     */
	@TableField("policy_code")
	private String policyCode;
    /**
     * 保险公司id
     */
	@TableField("company_id")
	private String companyId;
    /**
     * 保险公司
     */
	@TableField("company_name")
	private String companyName;
    /**
     * 主险产品id
     */
	@TableField("package_id")
	private String packageId;
    /**
     * 主险产品名称
     */
	@TableField("package_name")
	private String packageName;
    /**
     * 订单状态
     */
	@TableField("order_status")
	private String orderStatus;
    /**
     * 首年总保费
     */
	@TableField("first_year_premium")
	private BigDecimal firstYearPremium;
    /**
     * 询价总保费
     */
	@TableField("enquiry_preminum")
	private BigDecimal enquiryPreminum;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 投保时间
     */
	@TableField("apply_date")
	private String applyDate;
    /**
     * 承保日期
     */
	@TableField("underwrite_date")
	private String underwriteDate;
    /**
     * 生效日期
     */
	@TableField("effect_date")
	private String effectDate;
    /**
     * 回执日期
     */
	@TableField("receipt_date")
	private String receiptDate;
    /**
     * 关联订单号 多主险订单拆分需要使用
     */
	@TableField("rela_order_id")
	private Integer relaOrderId;
    /**
     * 核心代理人工号
     */
	@TableField("agent_code")
	private String agentCode;
    /**
     * 核心代理人姓名
     */
	@TableField("agent_name")
	private String agentName;
    /**
     * 快保代理人ID
     */
	@TableField("user_id")
	private String userId;
    /**
     * 区域中心编码
     */
	@TableField("org_code")
	private String orgCode;
    /**
     * 交易服务中心编码 市一级机构
     */
	@TableField("transaction_code")
	private String transactionCode;
    /**
     * 销售服务中心编码
     */
	@TableField("sales_code")
	private String salesCode;
    /**
     * 最后修改时间
     */
	@TableField("last_modify_time")
	private Date lastModifyTime;
    /**
     * 回访日期
     */
	@TableField("visit_date")
	private Date visitDate;
    /**
     * 录入页面步骤 填写到到那个步骤
     */
	@TableField("step_page")
	private String stepPage;
    /**
     * 投保人姓名
     */
	@TableField("proposer_name")
	private String proposerName;
    /**
     * 投保人证件号码
     */
	@TableField("proposer_indentiy_id")
	private String proposerIndentiyId;
    /**
     * 被保人姓名 多个被保人逗号分隔
     */
	@TableField("insureds_names")
	private String insuredsNames;
    /**
     * 被保人证件号 多个被保人逗号分隔
     */
	@TableField("insureds_indentity_ids")
	private String insuredsIndentityIds;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getOrderCode() {
		return orderCode;
	}

	public void setOrderCode(String orderCode) {
		this.orderCode = orderCode;
	}

	public String getPrintNo() {
		return printNo;
	}

	public void setPrintNo(String printNo) {
		this.printNo = printNo;
	}

	public String getPolicyCode() {
		return policyCode;
	}

	public void setPolicyCode(String policyCode) {
		this.policyCode = policyCode;
	}

	public String getCompanyId() {
		return companyId;
	}

	public void setCompanyId(String companyId) {
		this.companyId = companyId;
	}

	public String getCompanyName() {
		return companyName;
	}

	public void setCompanyName(String companyName) {
		this.companyName = companyName;
	}

	public String getPackageId() {
		return packageId;
	}

	public void setPackageId(String packageId) {
		this.packageId = packageId;
	}

	public String getPackageName() {
		return packageName;
	}

	public void setPackageName(String packageName) {
		this.packageName = packageName;
	}

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public BigDecimal getFirstYearPremium() {
		return firstYearPremium;
	}

	public void setFirstYearPremium(BigDecimal firstYearPremium) {
		this.firstYearPremium = firstYearPremium;
	}

	public BigDecimal getEnquiryPreminum() {
		return enquiryPreminum;
	}

	public void setEnquiryPreminum(BigDecimal enquiryPreminum) {
		this.enquiryPreminum = enquiryPreminum;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getApplyDate() {
		return applyDate;
	}

	public void setApplyDate(String applyDate) {
		this.applyDate = applyDate;
	}

	public String getUnderwriteDate() {
		return underwriteDate;
	}

	public void setUnderwriteDate(String underwriteDate) {
		this.underwriteDate = underwriteDate;
	}

	public String getEffectDate() {
		return effectDate;
	}

	public void setEffectDate(String effectDate) {
		this.effectDate = effectDate;
	}

	public String getReceiptDate() {
		return receiptDate;
	}

	public void setReceiptDate(String receiptDate) {
		this.receiptDate = receiptDate;
	}

	public Integer getRelaOrderId() {
		return relaOrderId;
	}

	public void setRelaOrderId(Integer relaOrderId) {
		this.relaOrderId = relaOrderId;
	}

	public String getAgentCode() {
		return agentCode;
	}

	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}

	public String getAgentName() {
		return agentName;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getTransactionCode() {
		return transactionCode;
	}

	public void setTransactionCode(String transactionCode) {
		this.transactionCode = transactionCode;
	}

	public String getSalesCode() {
		return salesCode;
	}

	public void setSalesCode(String salesCode) {
		this.salesCode = salesCode;
	}

	public Date getLastModifyTime() {
		return lastModifyTime;
	}

	public void setLastModifyTime(Date lastModifyTime) {
		this.lastModifyTime = lastModifyTime;
	}

	public Date getVisitDate() {
		return visitDate;
	}

	public void setVisitDate(Date visitDate) {
		this.visitDate = visitDate;
	}

	public String getStepPage() {
		return stepPage;
	}

	public void setStepPage(String stepPage) {
		this.stepPage = stepPage;
	}

	public String getProposerName() {
		return proposerName;
	}

	public void setProposerName(String proposerName) {
		this.proposerName = proposerName;
	}

	public String getProposerIndentiyId() {
		return proposerIndentiyId;
	}

	public void setProposerIndentiyId(String proposerIndentiyId) {
		this.proposerIndentiyId = proposerIndentiyId;
	}

	public String getInsuredsNames() {
		return insuredsNames;
	}

	public void setInsuredsNames(String insuredsNames) {
		this.insuredsNames = insuredsNames;
	}

	public String getInsuredsIndentityIds() {
		return insuredsIndentityIds;
	}

	public void setInsuredsIndentityIds(String insuredsIndentityIds) {
		this.insuredsIndentityIds = insuredsIndentityIds;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}

